package cn.iocoder.yudao.module.reading.dal.dataobject.plan;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 计划绘本集关联 DO
 *
 * @author 芋道源码
 */
@TableName("plan_book_sets")
@KeySequence("plan_book_sets_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PlanBookSetDO extends BaseDO {

    /**
     * 关联ID
     */
    @TableId
    private Long id;
    /**
     * 计划ID
     */
    private Long planId;
    /**
     * 绘本集ID
     */
    private Long bookSetId;
    /**
     * 在计划中的排序
     */
    private Integer sortOrder;

}
